package com.lingxu.module.info.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Title: InfoReleaseComment
 * @Package: com.lingxu.module.info.entity
 * @Author: ysj闫世杰
 * @Email: 1105324813@qq.com
 * @Date: Created in 2023/8/10 15:02
 * @Description: 新闻发布评论、回复表
 * @Version: 1.0.0
 */
@Data
@TableName(value = "T_INFO_RELEASE_COMMENT")
public class InfoReleaseComment {

    @TableId
    private String id;
    private String pid;
    private String region;
    private String createUser;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String content;
    private String read;
    private String infoId;

}
